package com.treasure.mall.biz.service.core.marketing;

/**
 *
 * <p>
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.service.core.marketing
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/8/31 1:56 下午
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 *
 */
public interface UserSubscribeRedPacketService {

    boolean checkUsed(Long userId);

    /**
     * 获取关注红包
     *
     * @param userId
     * @return
     */
    double getAmount(Long userId);

    /**
     * 设置用户关注公众号红包
     *
     * @param userId
     * @return
     */
    void setUserSubscribeAmount(Long userId);
}
